package com.luying.service;

import com.luying.pojo.ChangePassword;
import com.luying.pojo.MenuList;

import java.util.Map;

public interface AuthService {

    MenuList login(String account, String password);

    MenuList getMe(Integer id);

    Map<String,Object> logout(Integer id);

    void changePassword(ChangePassword changePassword) throws Exception;

    int resetPassword(String account);
}
